#!/bin/bash
#打包启动脚本
cp /mnt/code/uav_ws/src/uav_project/packet/tools/* /userdata/

cp /mnt/code/uav_ws/src/uav_project/packet/config/rc.local /etc/
cp /mnt/code/uav_ws/src/uav_project/packet/config/99-usb-serial.rules /etc/udev/rules.d/
cp /mnt/code/uav_ws/src/uav_project/packet/config/eth1 /etc/network/interfaces.d/

#打包可执行文件
cp -pr  /mnt/code/uav_ws/install/share/* /opt/ros/noetic/share/
cp -pr  /mnt/code/uav_ws/install/lib/* /opt/ros/noetic/lib/